package cn.cht.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.mail.SimpleMailMessage;


@Configuration
public class EmailConfig {



    @Bean
    public SimpleMailMessage registerEmailTemplate()
    {
        SimpleMailMessage message = new SimpleMailMessage();
        message.setFrom("974641044@qq.com");
        message.setSubject("Register Auth Code");
        return message;
    }
}
